
<div class="btn-toolbar">
    <a href="<?php echo URL; ?>data/simpan/" class="btn btn-primary">Simpan</a>
</div>
<table class="table table-bordered" id="example">
    <thead align="center" >
        <tr>
            <th >Kode Mata Kuliah</th>
            <th >Nama Mata Kuliah</th>
            <th >Beban SKS</th>
            <th >History Nilai</th>                  
            <th >Nilai</th>
            <th >Action</th>       
        </tr>
    </thead>
    <tbody>
        <?php
        $data = ($this->readExcel);
        foreach ($data as $key => $value) {

            echo '<tr>';
            echo '<td>' . $value['0'] . '</td>';
            echo '<td>' . $value['1'] . '</td>';
            echo '<td>' . $value['2'] . '</td>';
            echo '<td>' . $value['3'] . '</td>';
            echo '<td>' . $value['4'] . '</td>';

            echo '<td>  <a class="btn" href = "' . URL . 'data/simpan/' . $data . '"><i class = "icon-edit"></i><strong>Edit</strong></a></td>';
            echo '</tr>';
        }
        ?>
    </tbody>
</table>

<div class="pagination">

</div>